package cn.tedu.eshihui.service;

import cn.tedu.eshihui.pojo.dto.PictureAddNewDTO;
import org.springframework.transaction.annotation.Transactional;

@Transactional
public interface IPictureService {
    /**
     * 添加图片
     * @param pictureAddNewDTO
     */
    void addNew(PictureAddNewDTO pictureAddNewDTO);

    /**
     * 删除图片
     * @param id
     */
    void delete(Long id);
}
